draw2d.MyInputPort=function(_5a82){
    draw2d.InputPort.call(this,_5a82);
};
draw2d.MyInputPort.prototype=new draw2d.InputPort;
draw2d.MyInputPort.prototype.type="MyInputPort";
draw2d.MyInputPort.prototype.onDrop=function(port){
    if(port.getMaxFanOut&&port.getMaxFanOut()<=port.getFanOut()){
        return;
    }
    if(this.parentNode.id==port.parentNode.id){
    }else{
        var _5a84=new draw2d.CommandConnect(this.parentNode.workflow,port,this);
        _5a84.setConnection(new draw2d.ContextmenuConnection());
        this.parentNode.workflow.getCommandStack().execute(_5a84);
    }
};

